package org.geometerplus.fbreader.fbreader;

import com.chineseall.readerapi.entity.Bookbase;

import org.geometerplus.fbreader.book.M17kPlainTxtBook;

public class PaySingleChapterAction extends FBAction {

	public PaySingleChapterAction(FBReaderApp fbreader) {
		super(fbreader);
		
	}

	@Override
	protected void run(Object... params) {
		
		if(Reader.Model != null)
		{
		
			M17kPlainTxtBook tbook = (M17kPlainTxtBook) Reader.Model.Book;
			Bookbase book = new Bookbase();
			book.setBookId(tbook.getBookId());
			book.setBookName(tbook.getTitle());
			
			
			//new BuyBookActivity.LoadDataTask(Reader.getAppContext(), null, book, (Chapter) params[2], false).execute("");
			
			
		}
		
		
		
	}

}
